package com.hermes.biz.service.item;

import java.util.List;

import com.hermes.biz.common.model.item.ItemUserRelationDO;

public interface UserItemRelationService {

	/**
	 *
	 * @param userId
	 * @return
	 */
	public List<ItemUserRelationDO> getUserInterestedItems(long userId);
	
	/**
	 *
	 * @param itemUserRelationDO
	 * @return
	 */
	public boolean insertUserInterestedItem(ItemUserRelationDO itemUserRelationDO);
	
	/**
	 *
	 * @param userId
	 * @param itemId
	 * @return
	 */
	public boolean deleteUserInterestedItem(long userId,long itemId);
	
	/**
	 *
	 * @param userId
	 * @param itemId
	 * @return
	 */
	public boolean hasUserInterestedItem(long userId,long itemId);
	
}
